<div class="breadcrumbs">
    <small>
        <a href="<?php echo url_for('render_homesection',$portal)?>">
            <?php echo $portal->getHomeSection() ?>
        </a>
        <?php if($section->getIsSubsection()):?>
            <?php $path = array(); $node = $section->getParent(); array_unshift($path,$node); ?>
            <?php while ($node->getIsSubsection()): ?>
                <?php $node = $node->getParent() ?>
                <?php array_unshift($path, $node) ?>
            <?php endwhile; ?>
            <?php foreach ($path as $n): ?>
                >
                <a href="<?php echo url_for('render_section',$n)?>">
                    <?php echo $n ?>
                </a>
            <?php endforeach; ?>
        <?php endif; ?>
        >
        <?php if(!is_null($content)): ?>
            <a href="<?php echo url_for('render_section',$section)?>">
                <?php echo $section ?>
            </a>
            >
            <b><?php echo isset($content['title']) ? $content['title'] : $content ?></b>
        <?php else: ?>
            <b><?php echo $section ?></b>
        <?php endif; ?>
    </small>
</div>